package com.zhuss.outer.db.dao.ext;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.zhuss.bean.bo.SearchKeyWordBo;
import com.zhuss.bean.bo.outer.outer.SearchOuterBo;
import com.zhuss.bean.bo.outer.outer.wechat.ListOuterBo;
import com.zhuss.bean.vo.DetailKeyWordVo;
import com.zhuss.bean.vo.outer.outer.DetailOuterVo;
import com.zhuss.bean.vo.outer.outer.ListOuterVo;
import com.zhuss.outer.db.dao.gen.OuterMapper;
import com.zhuss.outer.db.entity.Outer;

@Mapper
public interface OuterDao extends OuterMapper {
	
	void create(Outer record);
	
	void delete(Outer record);
	
	List<Outer> listAll(@Param("area") Integer area);

	List<ListOuterVo> list(SearchOuterBo bo);

	Integer countList(SearchOuterBo bo);

	DetailOuterVo detail(@Param("outerId") Long outerId);

	List<DetailOuterVo> listOuter(ListOuterBo bo);
	
	Integer countOuterList(ListOuterBo bo);
	
	List<DetailKeyWordVo> keyWord(SearchKeyWordBo bo);
	
	Integer countKeyWord(SearchKeyWordBo bo);
    
}